home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Original Shareware 1.1
/
The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso
/
19
/
madtrb11.zip
/
TIMETEST.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1985-08-12
|
411b
|
21 lines
{
Program TIMETEST to demonstrate the use of the TIME function
contained in TIME.INC
Source: "TIME: A Function To Measure Elapsed Time", TUG Lines Volume I, Issue 3
Author: Herb Holden
Application: PC-DOS/MS-DOS
}
program timetest;
var t1,t2,x: real;
i: integer;
(*$I time.inc *)
begin
t1:=time;
for i:=1 to 1000 do x:=3.21*6.54;
t2:=time;
writeln( 'Time: ', t2-t1:6:2)
end.